projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
68fb643
)
tests: Fix testiconview
author
Alexander Mikhaylenko
<alexm@gnome.org>
Mon, 11 May 2020 13:54:23 +0000
(18:54 +0500)
committer
Alexander Mikhaylenko
<alexm@gnome.org>
Mon, 11 May 2020 13:54:23 +0000
(18:54 +0500)
Stop using GtkContainer API for GtkPopover.
tests/testiconview.c
patch
|
blob
|
history
diff --git
a/tests/testiconview.c
b/tests/testiconview.c
index 102eed4d33fc171db3f3827d5a67c58076ae5737..1b9c4d942fce7a4daf8763b41276610197568a68 100644
(file)
--- a/
tests/testiconview.c
+++ b/
tests/testiconview.c
@@
-349,7
+349,7
@@
do_popup_menu (GtkWidget *icon_list,
g_object_set_data_full (G_OBJECT (menu), "item-path", data, (GDestroyNotify)free_item_data);
item = gtk_button_new_with_label ("Activate");
- gtk_
container_add (GTK_CONTAIN
ER (menu), item);
+ gtk_
popover_set_child (GTK_POPOV
ER (menu), item);
g_signal_connect (item, "clicked", G_CALLBACK (item_cb), data);
gtk_popover_popup (GTK_POPOVER (menu));